﻿<Window x:Class="CSSAdriverapp.AddVehicleType"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Add Vehicle Type" Height="239" Width="286" ResizeMode="NoResize" Icon="/CSSA%20Driver%20App;component/lorry_green_256.ico">
    <Grid Background="#C5AFB1AF">
        <Label Content="Vehicle Type Name:" Height="28" HorizontalAlignment="Left" Margin="12,23,0,0" Name="vehicleTypeLabel" VerticalAlignment="Top" />
        <Label Content="Number Of Seats" Height="28" HorizontalAlignment="Left" Margin="12,57,0,0" Name="numOfSeatsLabel" VerticalAlignment="Top" />
        <Button Content="Add Type" Height="23" HorizontalAlignment="Left" Margin="174,134,0,0" Name="addTypeButton" VerticalAlignment="Top" Width="75" Click="addTypeButton_Click" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="129,25,0,0" Name="vehicleTypeTextbox" VerticalAlignment="Top" Width="120" />
        <Slider Height="23" HorizontalAlignment="Left" Margin="13,94,0,0" Name="seatSlider" VerticalAlignment="Top" Width="236" Value="1" Maximum="100" IsSnapToTickEnabled="True" TickPlacement="None" />
        <Label Content="{Binding ElementName=slider1, Path=Value}" Height="28" HorizontalAlignment="Left" Margin="13,129,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="Type Added Successfully" Height="28" HorizontalAlignment="Left" Margin="114,160,0,0" Name="typeAddedSuccessfullyLabel" VerticalAlignment="Top" Foreground="#FF489719" Visibility="Hidden" />
        <Label Content="Name Field Missing" Height="28" HorizontalAlignment="Left" Margin="114,160,0,0" Name="nameFieldMissingLabel" VerticalAlignment="Top" Width="135" Foreground="Red" Visibility="Hidden" />
    </Grid>
</Window>
